package com.ruoyi.qualityControl.enums;

public enum NetworkPullUniformEnum {

    id("id", "主键"),
    networkNameId("networkNameId", "所属网点id"),
    name("name", "名称"),
    status("status", "状态0禁用；1启用"),
    pullUniformObject("pullUniformObject", "拉均对象"),
    pullUniformDimensionality("pullUniformDimensionality", "拉均维度"),
    weightSection("weightSection", "重量段"),
    excludedProvince("excludedProvince", "排除省份"),
    transportType("transportType", "运输方式"),
    createBy("createBy", "创建人"),
    updateBy("updateBy", "修改人"),
    createTime("createTime", "创建时间"),
    updateTime("updateTime", "更新时间"),
    networkName("networkName", "所属网点"),
    memberName("memberName", "成员名称"),
    clientName("clientName", "客户名称");

    private final String code;
    private final String info;

    NetworkPullUniformEnum(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }


    public static String getValue(String code) {
        if (code == null) {
            return "";
        }
        for (NetworkPullUniformEnum value : NetworkPullUniformEnum.values()) {
            if (value.code.equals(code)){
                return value.info;
            }
        }
        return "";
    }




    }
